<?xml version='1.0' encoding='UTF-8' ?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j">
    <body>
        <ui:composition template="./main-template.xhtml">
            <ui:param name="titulo" value="Menu Principal" />

            <ui:define name="body">
                <rich:panel>
                    <center>
                        <a4j:form>
                            <table>
                                <tr>
                                    <td>
                                        <h:graphicImage value="/img/salesman.jpg"  />
                                    </td>
                                    <td>
                                        <h:graphicImage value="/img/silla.jpg"  />
                                    </td>
                                    <td>
                                        <h:graphicImage value="/img/inventario.jpg"  />
                                    </td>
                                    <td>
                                        <h:graphicImage value="/img/user.png"  />
                                    </td>
                                </tr>
                                <tr align="center">
                                    <td align="center">
                                        <a4j:commandLink action="vendors" value="Vendedores" />
                                    </td>
                                    <td align="center">
                                        <a4j:commandLink action="catalog" value="Muebles" />
                                    </td>
                                    <td align="center">
                                        <a4j:commandLink action="inventario" value="Inventario" />
                                    </td>
                                    <td align="center">
                                        <a4j:commandLink action="clientes" value="Clientes" />
                                    </td>
                                </tr>
                            </table>
                        </a4j:form>
                    </center>
                    <a4j:form>
                        <a4j:commandButton  action="#{SecurityBean.logout}"  value="Salir" />
                    </a4j:form>
                </rich:panel>
            </ui:define>
        </ui:composition>
    </body>
</html>